package cn.iocoder.yudao.module.system.controller.admin.portal.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;

@Schema(description = "管理后台 - 门户网站用户部门 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PortalDeptRespVO {

    @Schema(description = "部门编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("部门编码")
    private String orgCode;

    @Schema(description = "部门全称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("部门全称")
    private String name;

    @Schema(description = "部门简称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("部门简称")
    private String shortName;

    @Schema(description = "上级部门编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("上级部门编码")
    private String parentCode;

    @Schema(description = "创建人", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建人")
    private String createUser;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "部门层级路径", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("部门层级路径")
    private String parents;


    private String deptId;

}
